import 'package:enterprise_v6_app/app/components/double_prevention/double_get_all_measures_selection/double_get_all_measures_selection_page.dart';
import 'package:enterprise_v6_app/app/components/double_prevention/double_prevention_department_selection/double_preventions_department_selection_page.dart';
import 'package:enterprise_v6_app/app/components/double_prevention/double_prevention_people_selection/double_preventions_department_selection_page.dart';
import 'package:enterprise_v6_app/app/components/inventory_system/user_select_inventory_selection/user_select_inventory_selection_page.dart';
import 'package:enterprise_v6_app/app/components/personnel_department_tree/personnel_department_tree_view.dart';
import 'package:enterprise_v6_app/app/components/personnel_selection/personnel_selection_view.dart';
import 'package:enterprise_v6_app/app/components/signature/signature_view.dart';
import 'package:enterprise_v6_app/app/components/special_operation/map/selected_location/selected_location_view.dart';
import 'package:enterprise_v6_app/app/components/special_operation/related_ticket_selection/related_ticket_selection_view.dart';
import 'package:enterprise_v6_app/app/components/unit_selection/unit_selection_view.dart';
import 'package:enterprise_v6_app/app/modules/alarm_management/alarm_management_view.dart';
import 'package:enterprise_v6_app/app/modules/alarm_management/detail/disposal_page/disposal_page_view.dart';
import 'package:enterprise_v6_app/app/modules/alarm_management/detail/disposed.dart';
import 'package:enterprise_v6_app/app/modules/alarm_management/detail/not_dispose.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/accident_events/accident_events_detail/accident_events_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/basic_information_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/chain_removal_list/chain_removal_list_detail/chain_removal_list_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/chain_removal_list/chain_removal_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/component_management_ledger/component_management_ledger_detail/component_management_ledger_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/component_management_ledger/component_management_ledger_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/equipment_inspection_testing_ledger/equipment_inspection_testing_ledger_detail/equipment_inspection_testing_ledger_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/equipment_inspection_testing_ledger/equipment_inspection_testing_ledger_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/equipment_list/equipment_details/equipment_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/equipment_list/equipment_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/interlock_list/interlock_details/interlock_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/interlock_list/interlock_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/parts_accessory_list/parts_accessory_details/parts_accessory_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/equipment_facilities/parts_accessory_list/parts_accessory_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/file_management/file_list/certificate_file_details/certificate_file_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/file_management/file_list/compliance_file_details/compliance_file_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/file_management/file_list/file_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/file_management/three_same_time/three_same_time_details/three_same_time_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/file_management/three_same_time/three_same_time_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/personnel_management/duty_records_list/duty_records_details/duty_records_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/personnel_management/duty_records_list/duty_records_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/personnel_management/people_information_list/people_information_details/people_information_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/personnel_management/people_information_list/people_information_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/productive_process/hazardous_chemical_processes/hazardous_chemical_processes_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/productive_process/hazardous_chemicals/hazardous_chemicals_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/productive_process/major_hazard_base/major_hazard_base_item_detail/major_hazard_base_item_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/productive_process/major_hazard_base/major_hazard_base_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/third_party/third_party_details/people_manage/third_people_details/third_people_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/basic_information/third_party/third_party_details/third_party_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/closure/access_record/assess/detail/assess_rocord_details.dart';
import 'package:enterprise_v6_app/app/modules/application/closure/access_record/assess/detail/tab.dart';
import 'package:enterprise_v6_app/app/modules/application/closure/appointment_review/review/review_details/review_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/closure/closure_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/danger_investigation_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/hazard_investigation_task_management/on_click_add_page/on_click_add_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/hazard_investigation_task_management/task_management_details/task_management_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/hidden_danger_control_page/danger_control_details_page/danger_control_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/investigation_plan_ledger/investigation_plan_ledger_detail/igation_ledger_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/investigation_plan_ledger/investigation_plan_ledger_detail/investigation_plan_ledger_detail/igation_plan_ledge_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/investigation_plan_ledger/investigation_plan_ledger_detail/living_body_recognition_detail/living_rnition_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/task_allocation_hazard_investigation/allocation_details/allocation_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/danger_investigation_page/task_allocation_hazard_investigation/task_allocation_allocated/department_user_tree/department_user_tree_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/double_prevention_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/daily_commitment/daily_commitment_detail/daily_commitment_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/instrument_monitoring_ledger_page/instrument_monitoring_ledger_detail/instrument_monitoring_ledger_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_control_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_event_details/risk_event_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_obj_details/risk_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_on_click_add_event_page/risk_on_click_add_event_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_on_click_add_obj_page/risk_on_click_add_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_on_click_add_step_page/risk_on_click_add_step_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_on_click_add_unit_page/risk_on_click_add_unit_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_step_details/risk_step_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/risk_security_identification_page/risk_unit_details/risk_unit_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/task_implementation_page/task_details_page/task_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/task_implementation_page/task_practicable/ledger_detail_page/ledger_detail_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/double_prevention_page/risk_control_page/task_implementation_page/task_practicable/task_practicable_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/course_center/integrated_theme/course_detail_detail_page/course_detail/course_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/course_center/integrated_theme/course_detail_detail_page/course_detail_detail_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/demand_research/findings/findings_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/demand_research/questionnaire_detail/questionnaire_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/education_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/quiz/history/history_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/quiz/quiz_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/quiz/result/result_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/train_program/offline_training/offline_training_view.dart';
import 'package:enterprise_v6_app/app/modules/application/education/train_program/online_training/online_training_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/case/detail/case_detail.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/drill/drill_details/drill_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/emergency_plan/emergency_plan_details/emergency_plan_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/emergency_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/event/detail/event_detail_tab.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/home/accident_register/accident_register_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/home/accident_resubmit/accident_resubmit_view.dart';
import 'package:enterprise_v6_app/app/modules/application/emergency/resource/detail/detail_view.dart';
import 'package:enterprise_v6_app/app/modules/application/intelligent_inspection_page/inspection_list_page/inspection_details_page/inspection_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/intelligent_inspection_page/intelligent_inspection_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/daily_inspection_checklist/daily_checklist/daily_checklist_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/daily_inspection_checklist/historical_execution_status/historical_execution_status_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/emergency_checklist/emergency_drill_list/emergency_drill_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/emergency_checklist/emergency_material_list/emergency_material_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/emergency_checklist/emergency_plan_list/emergency_plan_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/emergency_checklist/emergency_team_list/emergency_team_list_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/inventory_system_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/job_performance_checklist/job_historical_execution_status/job_historical_execution_status_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/job_performance_checklist/job_latest_execution_details/job_latest_execution_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/risk_control_checklist/control_situation/control_details/control_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/inventory_system/risk_control_checklist/control_situation/control_situation_view.dart';
import 'package:enterprise_v6_app/app/modules/application/major_hazard/major_hazard_view.dart';
import 'package:enterprise_v6_app/app/modules/application/major_hazard/monitor/camera/camera_view.dart';
import 'package:enterprise_v6_app/app/modules/application/major_hazard/monitor/curve/curve_view.dart';
import 'package:enterprise_v6_app/app/modules/application/major_hazard/obligation/history/violation_view.dart';
import 'package:enterprise_v6_app/app/modules/application/more_apply/more_apply_view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/add_products/add_products_view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/device_manger/curve/view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/outbound_records/outbound_records_view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/product_management/product_details/product_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/smart_warehouse_view.dart';
import 'package:enterprise_v6_app/app/modules/application/smart_warehouse/warehouse_management/warehouse_details/warehouse_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/live/live_amin.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/job_plan_request/job_plan_request_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/job_ticket/common/common_work_all/common_work_all_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/job_ticket/common/common_work_detail_all/work_detail_all_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/management_operation_page/change_shifts/change_shifts_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/management_operation_page/job_stop_and_off_page/job_stop_and_off_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/management_operation_page/management_operation_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/management_operation_page/more_working_person_page/more_working_person_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/management_operation_page/violation_records/violation_records_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/process_allocation_page/process_allocation_apply_page/process_allocation_apply_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/special_list/process_allocation_page/process_allocation_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/job_ticket_web_page_page/job_ticket_table.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/job_ticket_web_page_page/job_ticket_web_page_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/acceptance_condition_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/appliance_information_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/gas_analysis_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/interrupt_record_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/operating_company_details.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/operating_ledger_details_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/operator_man_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/qualification_certificate_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/safe_measures_determine.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/security_disclosure_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/signature_form_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_details_page/violation_record_page.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/standing_book_page/operating_ledger_page/operating_ledger_view.dart';
import 'package:enterprise_v6_app/app/modules/application/special_operation/view.dart';
import 'package:enterprise_v6_app/app/modules/application/standardization/detail/view.dart';
import 'package:enterprise_v6_app/app/modules/application/standardization/standardization_view.dart';
import 'package:enterprise_v6_app/app/modules/auth/auth/view.dart';
import 'package:enterprise_v6_app/app/modules/auth/face/face_view.dart';
import 'package:enterprise_v6_app/app/modules/auth/login/view.dart';
import 'package:enterprise_v6_app/app/modules/home/view.dart';
import 'package:enterprise_v6_app/app/modules/init/init_view.dart';
import 'package:enterprise_v6_app/app/modules/profile/assess/assessment_view.dart';
import 'package:enterprise_v6_app/app/modules/profile/cert/cert_view.dart';
import 'package:enterprise_v6_app/app/modules/profile/profile/profile_view.dart';
import 'package:enterprise_v6_app/app/modules/reporting_hidden_dangers/reporting_hidden_dangers_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/education/me_demand_research/all_ing_research_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/education/me_demand_research/me_demand_research_detail/me_demand_research_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/education/me_train_program/online_ing_course/online_ing_course_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/education/me_train_program/train_ing_program_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/annual_hazard_plan/annual_hazard_plan_detail/annual_hazard_plan_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/annual_hazard_plan/annual_hazard_plan_detail/annual_hazard_planinfo/annual_hazard_plan_task/annual_hazard_plan_task_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/annual_hazard_plan/annual_hazard_plan_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/hazard_management/hazard_confirmation/hazard_confirmation_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/hazard_management/hazard_management_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/hazard_management/hazard_rectification/hazard_rectification_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/investigation_plan/investigation_plan_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/investigation_plan/plan_unit/plan_unit_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/supplementary_inspection/supplementary_details/supplementary_details_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/hazard_investigation/supplementary_inspection/supplementary_inspection_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/inspec_task_page/run_task_page/run_task_detail/run_task_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/process_execution/detail/vetting/view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/process_execution/detail/view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/responsibility/task_list/responsibility_task_details/responsibility_task_details_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/daily_approve/daily_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/daily_commitment_detail_approve/daily_commitment_detail_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/equipment_start_shutdown/equipment_start_shutdown_approve/equipment_start_shutdown_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/equipment_start_shutdown/equipment_start_shutdown_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/risk_assessment_report_review_approve/risk_assessment_report_review_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/risk_control_approve/risk_control_approve_detail/risk_control_approve_detail_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/risk_control/risk_control_approve/risk_control_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/chain_removal_list_approve/chain_removal_list_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/clock_in/check_in/check_in_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/clock_in/clock_in_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/clock_in/scheduling_plan/scheduling_plan_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/component_management_ledger_approve/component_management_ledger_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/security_all_fundamentals_page/equipment_inspection_testing_ledger_approve/equipment_inspection_testing_ledger_approve_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_closure/task_appointment_review/common_approval_details/common_approval_details_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_closure/task_appointment_review/task_appointment_review_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_closure/task_waiting_management/task_waiting_management_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_closure/task_waiting_management/waiting_management_approval/waiting_management_approval_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_emergency/task_drill_plan/drill_plan_approval/drill_plan_approval_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_emergency/task_drill_plan/drill_plan_execute/drill_plan_execute_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_emergency/task_drill_plan/task_drill_plan_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_emergency/task_emergency_plan/emergency_plan_approval/emergency_plan_approval_view.dart';
import 'package:enterprise_v6_app/app/modules/task/task_all/task_emergency/task_emergency_plan/task_emergency_plan_view.dart';
import 'package:enterprise_v6_app/router/app_auth_middleware.dart';
import 'package:get/get.dart';

part 'app_routes.dart';

abstract class AppPages {
  AppPages._();

  /// 入口
  static const String initial = AppRoutes.initPage;

  static final routes = _generateRoutes();

  static List<GetPage> _generateRoutes() {
    final result = <GetPage>[];
    result.addAll(_generateAuthRoutes());
    result.addAll(_generateHomeRoutes());
    result.addAll(_generateSpecialOperationRoutes());
    result.addAll(_generateWorkManagementRoutes());
    result.addAll(_generateDoublePreventionRoutes());
    result.addAll(_generateSmartWarehouseRoutes());
    result.addAll(_generateRiskControlRoutes());
    result.addAll(_generateHazardDetectionRoutes());
    result.addAll(_generateIntelligentInspectionRoutes());
    result.addAll(_generateMyTasksRoutes());
    result.addAll(_generateMajorHazardRoutes());
    result.addAll(_generateEducationTrainingRoutes());
    result.addAll(_generateBasicInformationRoutes());
    result.addAll(_generateEmergencyRoutes());
    result.addAll(_generateClosedRoutes());
    result.addAll(_generateInventorySystemRoutes());
    result.addAll(_generateStandardizationRoutes());
    result.addAll(_generateAlarmRoutes());
    return result;
  }

  /// 构建页面
  ///
  /// [needAuth] 表示是否需要登录认证才可访问
  static GetPage generatePage({
    required String name,
    required GetPageBuilder page,
    bool needAuth = true,
    String? title,
    Transition? transition,
    List<GetMiddleware>? middlewares,
  }) {
    final middlewareList = <GetMiddleware>[];

    if (middlewares?.isNotEmpty == true) {
      middlewareList.addAll(middlewareList);
    }

    if (needAuth) {
      middlewareList.add(AppAuthMiddleWare());
    }

    return GetPage(
      name: name,
      page: page,
      title: title,
      // 路由动画
      transition: transition ?? Transition.native,
      middlewares: middlewareList,
    );
  }

  /// auth相关
  static List<GetPage> _generateAuthRoutes() {
    return [
      generatePage(
        name: AppRoutes.auth,
        page: AuthPage.new,
        transition: Transition.fadeIn,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.authLogin,
        page: LoginPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.faceAuth,
        page: FaceAuthPage.new,
      ),
    ];
  }

  /// 首页
  static List<GetPage> _generateHomeRoutes() {
    return [
      generatePage(
        name: AppRoutes.initPage,
        page: InitPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.home,
        page: HomePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.reportingHiddenDangersPage,
        page: ReportingHiddenDangersPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.moreApply,
        page: MoreApplyPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.myProfile,
        page: HomeMyProfileView.new,
      ),
      generatePage(
        name: AppRoutes.myCert,
        page: HomeMyCertView.new,
      ),
      generatePage(
        name: AppRoutes.myAssessment,
        page: HomeMyAssessmentView.new,
      ),
    ];
  }

  // 特殊作业
  static List<GetPage> _generateSpecialOperationRoutes() {
    return [
      generatePage(
        name: AppRoutes.specialOperation,
        page: SpecialPageWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobPlanRequest,
        page: JobPlanRequestWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.planSelectedLocation,
        page: SelectedLocationWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.signature,
        page: SignatureWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.personnelSelection,
        page: PersonnelSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.doublePreventionDepartmentSelection,
        page: DoublePreventionDepartmentSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.doublePreventionPeopleSelection,
        page: DoublePreventionPeopleSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.doubleGetAllMeasuresSelectionPage,
        page: DoubleGetAllMeasuresSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.relatedTicketSelection,
        page: RelatedTicketSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.workDetailAll,
        page: WorkDetailAllWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.manageJobs,
        page: ManagementOperationPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.personnelAllocation,
        page: ProcessAllocationPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.personnelAllocationApply,
        page: ProcessAllocationApplyPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.unitSelection,
        page: UnitSelectionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedger,
        page: OperatingLedgerPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetail,
        page: OperatingLedgerDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailCompany,
        page: OperatingCompanyDetails.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailInstrument,
        page: ApplianceInformationPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailViolationRecord,
        page: ViolationRecordPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailPersonnel,
        page: OperatorManPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailSafetyMeasures,
        page: SafetyMeasuresToDetermine.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailDisclosureRecord,
        page: SecurityDisclosurePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailAcceptanceConditions,
        page: AcceptanceConditionPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailSignatureTable,
        page: SignatureFormPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailQualificationCertificate,
        page: QualificationCertificatePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailInterruptRecord,
        page: InterruptRecordPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLedgerDetailGasAnalysisRecord,
        page: GasAnalysisPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobTicket,
        page: JobTicketWebPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobTicketAttachment,
        page: JobTicketAttachmentWidget.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.workAll,
        page: CommonWorkAllPage.new,
        needAuth: false,
      ),
    ];
  }

  // 作业管理
  static List<GetPage> _generateWorkManagementRoutes() {
    return [
      generatePage(
        name: AppRoutes.workingPersonnelList,
        page: MoreWorkingPersonPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.workInterruption,
        page: JobStopAndOffPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.changeShiftsPage,
        page: ChangeShiftsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.violationRecordsPage,
        page: ViolationRecordsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.livePush,
        page: LiveViewPage.new,
        needAuth: false,
      ),
    ];
  }

  // 双重预防
  static List<GetPage> _generateDoublePreventionRoutes() {
    return [
      generatePage(
        name: AppRoutes.doublePrevention,
        page: DoublePreventionPage.new,
        needAuth: false,
      ),
    ];
  }

  // 风险管控
  static List<GetPage> _generateRiskControlRoutes() {
    return [
      generatePage(
        name: AppRoutes.riskControl,
        page: RiskControlPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.taskDetails,
        page: TaskDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.taskPracticable,
        page: TaskPracticablePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.ledgerDetail,
        page: LedgerDetailPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskOnClickAddObjPage,
        page: RiskOnClickAddPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskOnClickAddUnitPage,
        page: RiskOnClickAddUnitPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskOnClickAddEventPage,
        page: RiskOnClickAddEventPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskOnClickAddStepPage,
        page: RiskOnClickAddStepPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskObjDetails,
        page: RiskDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskUnitDetails,
        page: RiskUnitDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskEventDetails,
        page: RiskEventDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.riskStepDetails,
        page: RiskStepDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.dailyCommitmentDetailPage,
        page: DailyCommitmentDetailPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.equipmentStartShutdownApprovePage,
        page: EquipmentStartShutdownApprovePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.instrumentMonitoringLedgerDetailPage,
        page: InstrumentMonitoringLedgerDetailPage.new,
        needAuth: false,
      ),
    ];
  }

  // 隐患排查
  static List<GetPage> _generateHazardDetectionRoutes() {
    return [
      generatePage(
        name: AppRoutes.hiddenDiseaseSearch,
        page: DangerInvestigationPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.hiddenDiseaseDetails,
        page: DangerControlDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.taskInformationManagementDetails,
        page: TaskInformationManagementDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.onClickAddPage,
        page: OnClickAddPagePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.allocationDetailsTwoPage,
        page: AllocationDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.investigationPlanLedgerDetail,
        page: InvestigationPlanLedgerDetailPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.investigationPlanLedgerDetailDetail,
        page: InvestigationPlanLedgerDetailDetailPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.livingBodyRecognitionDetail,
        page: LivingBodyRecognitionDetailPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.departmentUserTreePage,
        page: DepartmentUserTreePage.new,
        needAuth: false,
      ),
    ];
  }

  /// 智慧仓库
  static List<GetPage> _generateSmartWarehouseRoutes() {
    return [
      generatePage(
        name: AppRoutes.smartWarehouse,
        page: SmartWarehousePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.productDetails,
        page: ProductDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.outboundRecords,
        page: OutboundRecordsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.warehouseDetails,
        page: WarehouseDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.addProducts,
        page: AddProductsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.warehouseDeviceCurve,
        page: WarehouseDeviceCurvePage.new,
      ),
    ];
  }

  /// 智能巡检
  static List<GetPage> _generateIntelligentInspectionRoutes() {
    return [
      generatePage(
        name: AppRoutes.intelligentInspection,
        page: IntelligentInspectionPage.new,
      ),
      generatePage(
        name: AppRoutes.planLedger,
        page: InspectionDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.runTaskDetail,
        page: RunTaskDetailPage.new,
      ),
    ];
  }

  /// 重大危险源
  static List<GetPage> _generateMajorHazardRoutes() {
    return [
      generatePage(
        name: AppRoutes.majorHazardPage,
        page: MajorHazardPage.new,
      ),
      generatePage(
        name: AppRoutes.majorHazardMonitorCurvePage,
        page: HazardMonitorCurvePage.new,
      ),
      generatePage(
        name: AppRoutes.majorHazardMonitorCameraPage,
        page: HazardMonitorCameraPage.new,
      ),
      generatePage(
        name: AppRoutes.majorHazardViolationPage,
        page: HazardObligationsViolationPage.new,
      ),
    ];
  }

  /// 我的任务
  static List<GetPage> _generateMyTasksRoutes() {
    return [
      generatePage(
        name: AppRoutes.hazardConfirmationPage,
        page: HazardConfirmationPage.new,
      ),
      generatePage(
        name: AppRoutes.hazardRectificationPage,
        page: HazardRectificationPage.new,
      ),
      generatePage(
        name: AppRoutes.personnelDepartmentTreePage,
        page: PersonnelDepartmentTreePage.new,
      ),
      generatePage(
        name: AppRoutes.hazardSupplementaryDetailsPage,
        page: SupplementaryDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.responsibilityTaskDetails,
        page: ResponsibilityTaskDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.planUnitPage,
        page: PlanUnitPage.new,
      ),
      generatePage(
        name: AppRoutes.checkInPage,
        page: CheckInPage.new,
      ),
      generatePage(
        name: AppRoutes.schedulingPlan,
        page: SchedulingPlanPage.new,
      ),
      generatePage(
        name: AppRoutes.allIngResearchPage,
        page: AllIngResearchPage.new,
      ),
      generatePage(
        name: AppRoutes.trainIngProgramView,
        page: TrainIngProgramView.new,
      ),
      generatePage(
        name: AppRoutes.meDemandResearchDetailPage,
        page: MeDemandResearchDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.taskEmergencyPlan,
        page: TaskEmergencyPlanPage.new,
      ),
      generatePage(
        name: AppRoutes.taskDrillPlan,
        page: TaskDrillPlanPage.new,
      ),
      generatePage(
        name: AppRoutes.emergencyPlanApproval,
        page: EmergencyPlanApprovalPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.drillPlanApproval,
        page: DrillPlanApprovalPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.drillPlanExecute,
        page: DrillPlanExecutePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.taskAppointmentReview,
        page: TaskAppointmentReviewPage.new,
      ),
      generatePage(
        name: AppRoutes.taskWaitingManagement,
        page: TaskWaitingManagementPage.new,
      ),
      generatePage(
        name: AppRoutes.closureApprovalDetails,
        page: CommonApprovalDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.waitingManagementApproval,
        page: WaitingManagementApprovalPage.new,
      ),
      generatePage(
        name: AppRoutes.securityFundamentalsPage,
        page: ClockInControllerPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentInspectionTestingLedgerApprovePage,
        page: EquipmentInspectionTestingLedgerApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.componentManagementLedgerApprovePage,
        page: ComponentManagementLedgerApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.chainRemovalListApprovePage,
        page: ChainRemovalListApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.dailyCommitmentDetailApprovePage,
        page: DailyCommitmentDetailApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.dailyApprovePage,
        page: DailyApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.riskControlApprovePage,
        page: RiskControlApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.riskAssessmentReportReviewApprovePage,
        page: RiskAssessmentReportReviewApprovePage.new,
      ),
      generatePage(
        name: AppRoutes.riskControlApproveDetailPage,
        page: RiskControlApproveDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.investigationPlanPage,
        page: InvestigationPlanPage.new,
      ),
      generatePage(
        name: AppRoutes.supplementaryInspectionPage,
        page: SupplementaryInspectionPage.new,
      ),
      generatePage(
        name: AppRoutes.hazardManagementPage,
        page: HazardManagementPage.new,
      ),
      generatePage(
        name: AppRoutes.annualHazardInvestigationPlanPage,
        page: AnnualHazardInvestigationPlanPage.new,
      ),
      generatePage(
        name: AppRoutes.annualHazardInvestigationPlanDetailPage,
        page: AnnualHazardInvestigationPlanDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.annualHazardInvestigationPlanInfoTaskPage,
        page: AnnualHazardPlanTaskPage.new,
      ),
      generatePage(
        name: AppRoutes.myTaskProcessApprovalDetail,
        page: ProcessExecPage.new,
      ),
      generatePage(
        name: AppRoutes.myTaskProcessApprovalDetailSign,
        page: ProcessVettingPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentStartShutdownPage,
        page: EquipmentStartShutdownPage.new,
      ),
    ];
  }

  /// 教育培训
  static List<GetPage> _generateEducationTrainingRoutes() {
    return [
      generatePage(
        name: AppRoutes.educationTraining,
        page: EducationPage.new,
      ),
      generatePage(
        name: AppRoutes.onlineTrainingPage,
        page: OnlineTrainingPage.new,
      ),
      generatePage(
        name: AppRoutes.offLineTrainingPage,
        page: OfflineTrainingPage.new,
      ),
      generatePage(
        name: AppRoutes.courseDetailPage,
        page: CourseDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.quizPage,
        page: EducationQuizView.new,
      ),
      generatePage(
        name: AppRoutes.quizResultPage,
        page: EducationQuizResultView.new,
      ),
      generatePage(
        name: AppRoutes.courseDetailDetailPage,
        page: CourseDetailDetailPagePage.new,
      ),
      generatePage(
        name: AppRoutes.quizHistoryPage,
        page: EducationQuizHistoryView.new,
      ),
      generatePage(
        name: AppRoutes.questionnaireDetailPage,
        page: QuestionnaireDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.findingsPage,
        page: FindingsPage.new,
      ),
      generatePage(
        name: AppRoutes.onlineIngCoursePage,
        page: OnlineIngCoursePage.new,
      ),
    ];
  }

  /// 安全基础
  static List<GetPage> _generateBasicInformationRoutes() {
    return [
      generatePage(
        name: AppRoutes.basicInformation,
        page: BasicInformationPage.new,
      ),
      generatePage(
        name: AppRoutes.fileList,
        page: FileListPage.new,
      ),
      generatePage(
        name: AppRoutes.majorHazardBase,
        page: MajorHazardBasePage.new,
      ),
      generatePage(
        name: AppRoutes.complianceFileDetails,
        page: ComplianceFileDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.certificateFileDetails,
        page: CertificateFileDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.threeSameTime,
        page: ThreeSameTimePage.new,
      ),
      generatePage(
        name: AppRoutes.threeSameTimeDetails,
        page: ThreeSameTimeDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.majorHazardBaseItemDetail,
        page: MajorHazardBaseItemDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.hazardousChemicals,
        page: HazardousChemicalsBasePage.new,
      ),
      generatePage(
        name: AppRoutes.hazardousChemicalProcessesPage,
        page: HazardousChemicalProcessesPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentList,
        page: EquipmentListPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentDetails,
        page: EquipmentDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.partsAccessoryList,
        page: PartsAccessoryListPage.new,
      ),
      generatePage(
        name: AppRoutes.partsAccessoryDetails,
        page: PartsAccessoryDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.partsAccessoryDetails,
        page: PartsAccessoryDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.interlockList,
        page: InterlockListPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentInspectionTestingLedgerPage,
        page: EquipmentInspectionTestingLedgerPage.new,
      ),
      generatePage(
        name: AppRoutes.equipmentInspectionTestingLedgerDetailPage,
        page: EquipmentInspectionTestingLedgerDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.componentManagementLedgerPage,
        page: ComponentManagementLedgerPage.new,
      ),
      generatePage(
        name: AppRoutes.componentManagementLedgerDetailPage,
        page: ComponentManagementLedgerDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.chainRemovalListPage,
        page: ChainRemovalListPage.new,
      ),
      generatePage(
        name: AppRoutes.chainRemovalListDetailPage,
        page: ChainRemovalListDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.interlockDetails,
        page: InterlockDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.accidentEventsDetail,
        page: AccidentEventsDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.peopleInformationList,
        page: PeopleInformationListPage.new,
      ),
      generatePage(
        name: AppRoutes.peopleInformationDetails,
        page: PeopleInformationDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.dutyRecordsList,
        page: DutyRecordsListPage.new,
      ),
      generatePage(
        name: AppRoutes.dutyRecordsDetails,
        page: DutyRecordsDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.thirdPartyDetails,
        page: ThirdPartyDetailsPage.new,
      ),
      generatePage(
        name: AppRoutes.thirdPeopleDetails,
        page: ThirdPeopleDetailsPage.new,
      ),
    ];
  }

  /// 敏捷应急页面
  static List<GetPage> _generateEmergencyRoutes() {
    return [
      generatePage(
        name: AppRoutes.emergency,
        page: EmergencyPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyPlanDetails,
        page: EmergencyPlanDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.drillDetails,
        page: DrillDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.eventDetail,
        page: EventDetailTab.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyResourceDetails,
        page: EmergencyResourceDetailPage.new,
      ),
      generatePage(
        name: AppRoutes.caseDetail,
        page: CaseDetail.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.accidentRegister,
        page: AccidentRegisterPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.accidentResubmit,
        page: AccidentResubmitPage.new,
        needAuth: false,
      ),
    ];
  }

  /// 封闭化
  static List<GetPage> _generateClosedRoutes() {
    return [
      generatePage(
        name: AppRoutes.closure,
        page: ClosurePage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.appointmentReviewDetails,
        page: ReviewDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.accessRecordDetails,
        page: AssessTab.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.accessRecordDetailsPersonnelList,
        page: AssessRecordDetails.new,
        needAuth: false,
      ),
    ];
  }

  /// 清单制
  static List<GetPage> _generateInventorySystemRoutes() {
    return [
      generatePage(
        name: AppRoutes.inventorySystem,
        page: InventorySystemPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyMaterialListPage,
        page: EmergencyMaterialListPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyTeamListPage,
        page: EmergencyTeamListPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyPlanListPage,
        page: EmergencyPlanListPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.emergencyDrillListPage,
        page: EmergencyDrillListPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.controlSituationPage,
        page: ControlSituationPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.controlDetails,
        page: ControlDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.historicalExecutionStatusPage,
        page: HistoricalExecutionStatusPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.dailyChecklistPage,
        page: DailyChecklistPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobLatestExecutionDetailsPage,
        page: JobLatestExecutionDetailsPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.jobHistoricalExecutionStatusPage,
        page: JobHistoricalExecutionStatusPage.new,
        needAuth: false,
      ),
      generatePage(
        name: AppRoutes.userSelectInventorySelectionPage,
        page: UserSelectInventorySelectionPage.new,
        needAuth: false,
      ),
    ];
  }

  /// 标准化
  static List<GetPage> _generateStandardizationRoutes() {
    return [
      generatePage(
        name: AppRoutes.standardization,
        page: StandardizationPage.new,
      ),
      generatePage(
        name: AppRoutes.standardHomeDetail,
        page: StandardizationDetailPage.new,
      ),
    ];
  }

  /// 报警处置
  static List<GetPage> _generateAlarmRoutes() {
    return [
      generatePage(
        name: AppRoutes.alarmManagement,
        page: AlarmManagementPage.new,
      ),
      generatePage(
        name: AppRoutes.disposedDetail,
        page: Disposed.new,
      ),
      generatePage(
        name: AppRoutes.undisposedDetail,
        page: NotDispose.new,
      ),
      generatePage(
        name: AppRoutes.undisposedDetailDispose,
        page: DisposalPagePage.new,
      ),
    ];
  }
}
